package web

import (
	"ksd-social-api/commons/base/controller"
	"ksd-social-api/modules/platform/service"
)

var platformSystemService = service.PlatformSystemService{}

type PlatformSystemController struct {
	controller.BaseController
}

/**
 * 获取平台信息
 * @author feige
 * @date 2024-01-21
 * @version 1.0
 * @desc
 */
func (web *PlatformSystemController) PlatformSystemInfo() {
	m := map[string]any{}
	platSystem := platformSystemService.GetPlatformSystemService(web.GetSystemId())
	m["system"] = platSystem
	web.Ok(m)
}
